package com.ht.temp.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mayke_zhou
 * @since 2018-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MonthReport implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer monthId;

    /**
     * 月（哪一月：xxxx年xx月）
     */
    private String monthName;

    /**
     * 月平均温度
     */
    private Double monthTem;

    /**
     * 月平均湿度
     */
    private Double monthHum;

    /**
     * 插入月时间
     */
    private String monthTime;

    @JsonFormat(pattern="yyyy",timezone="GMT+8")
    private LocalDateTime times;

    private Integer deviceId;


}
